package main

import (
	"fmt"
	"yundian/internel/app/dao"
	"yundian/internel/pkg/dbs"
	"yundian/internel/pkg/dingo"
)

func main() {
	//dingo.InitViper("./configs/adm.yaml")
	//dingo.InitViper("./configs/yundian.yaml")
	//dingo.InitViper("./configs/zhongman.yaml")
	dingo.InitViper("./configs/zmtest.yaml")
	//dingo.InitViper("./configs/zmtest-adm.yaml")
	dbs.NewMysqlComponent().Step()
	dbs.NewRedisComponent().Step()

	data := dao.NewRoomDaoDao().GetRoomOrderPlace("ZM20211122170335836549")
	fmt.Println(data)
}
